package com.gateway.config;

/**
 * gateway模块异常类
 *
 * @author helichao
 * @date 20200818
 */
public enum EicGatewayErrorEnum{

    /**
     * 服务调用失败
     */
    EG_0001("EG-0001", "服务调用失败"),
    /**
     * 服务未注册Log详情
     */
    EG_0002("EG-0002", "服务未注册Log详情"),
    /**
     * 服务未注册Log详情
     */
    EG_0003("EG-0003", "该服务正在维护中"),

    ;
    private String code;

    private String msg;

    EicGatewayErrorEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
